package com.guochenglang.www.view.vo;

import com.guochenglang.www.pojo.Dialog;
import com.guochenglang.www.pojo.User;

/**
 * 会话消息提醒的vo
 *
 * @author GuoChenglang
 */
public class DialogView {
    /**
     * 用户名
     */
    private String username;
    /**
     * 会话对象
     */
    private Dialog dialog;
    /**
     * 未读个数
     */
    private Integer dialogCount;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Dialog getDialog() {
        return dialog;
    }

    public void setDialog(Dialog dialog) {
        this.dialog = dialog;
    }

    public Integer getDialogCount() {
        return dialogCount;
    }

    public void setDialogCount(Integer dialogCount) {
        this.dialogCount = dialogCount;
    }

    public DialogView() {
    }

    public DialogView(String username, Integer dialogCount, Dialog dialog) {
        this.username = username;
        this.dialogCount = dialogCount;
        this.dialog = dialog;
    }
}
